<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<jsp:directive.page import="com.dic.dao.*" />
<% 
System.out.println("aa");
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
String sessionName = request.getParameter("sessionName");
System.out.println(sessionName);
session.removeAttribute(sessionName);
//session.invalidate();
if(session.getAttribute(sessionName) == null) {
	out.println("{'result' : 'success'}");
} else {
	out.println("{'result' : 'fail'}");
}
%>
